package com.sangeng.domain.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sangeng.enums.AppHttpCodeEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDto {
    //用户名
    @NotBlank(message = "用户名不能为空")
    private String userName;
    //昵称
    @NotBlank(message = "昵称不能为空")
    private String nickName;
    //密码
    @NotBlank(message = "密码不能为空")
    private String password;
    //邮箱
    @NotBlank(message = "邮箱不能为空")
    private String email;
}

